import 'lib-flexible'
// console.log('9999999');
//路由发生变化的时候
//app.tsx相当于'入口'文件
interface propType {
    location: any;
    routes: any;
    action: any
}

export function onRouteChange({ location, routes, action }: propType) {
    console.log(location.pathname);//路径： /home
}